package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.activity.holiday.UserHolidayActivityData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class UserHolidayActivityBussiness {

    //获取玩家玩法数据
    public static Map<Integer, UserHolidayActivityData> getUserActivityDataMap(long userId, List<Integer> activityIdList) {
        return DaoHelper.getUserHolidayActivityDataDaoImpl().getUserActivityDataMap(userId, activityIdList);
    }

    public static boolean addUserHolidayActivityData(UserHolidayActivityData userHolidayActivityData) {
        return DaoHelper.getUserHolidayActivityDataDaoImpl().add(userHolidayActivityData);
    }

    public static boolean updateUserHolidayActivityData(UserHolidayActivityData userHolidayActivityData) {
       return DaoHelper.getUserHolidayActivityDataDaoImpl().update(userHolidayActivityData);
    }

}
